package com.kuaimacode.kframework.api.vo.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author 中元
 * @date 2019/04/08
 */
@Data
public class OrderEvaluateReq {
	@NotNull(message = "请上送订单id")
	@ApiModelProperty(value = "订单ID")
	private Long orderId;
	@NotNull(message = "请选择服务星级")
	@ApiModelProperty(value = "服务星级 1-5星")
	private Integer star;
	@NotBlank(message = "评价内容不能为空")
	@ApiModelProperty(value = "评价内容")
	private String content;
	@ApiModelProperty(value = "打赏金额")
	private BigDecimal reward;
	@ApiModelProperty(value = "评价图片  图片名称以,分隔")
	private String images;
	/*@ApiModelProperty(value = "支付类型 1-微信 2-支付宝 (如果打赏金额选择的时候需要上送)")
	private Integer payType;*/
}
